package com.atguigu.srb.core.pojo.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ExcelDictDTO {
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    @ExcelProperty("id")
    private Long id;

    @ApiModelProperty(value = "上级id")
    @ExcelProperty("上级id")
    private Long parentId;

    @ApiModelProperty(value = "名称")
    @ExcelProperty("名称")
    private String name;

    @ApiModelProperty(value = "值")
    @ExcelProperty("值")
    private Integer value;

    @ApiModelProperty(value = "编码")
    @ExcelProperty("编码")
    private String dictCode;
}
